package ptij.verifier.test.grammar;

import ptolemy.actor.*;
import ptolemy.kernel.*;
import ptolemy.kernel.util.*;

public class Expressions extends AtomicActor {

   public Expressions(CompositeEntity container, String name) throws
           NameDuplicationException, IllegalActionException {
       super(container, name);
   }


   public void fire() throws IllegalActionException {   

      int a = 1, b = 2, c= 3;
      
      System.out.println((a > b)?c++:c--);
      System.out.println(c);

      System.out.println((a > b)?b:a);
      
      System.out.println(a);
      System.out.println(b);
   
   }

}

